<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <title>门岗管理</title>
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui-pull-refresh.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/comm.css" />
    <link rel="stylesheet" type="text/css" href="css/gate_sentry.css" />
</head>

<body>
    <div id="app" v-cloak>
        <!-- 物品放行 -->
        <div v-if="status==2" class="contentBox pb4">
            <div class="aui_formbox">
                <!-- loop -->
                <div class="aui_formitem">
                    <div class="aui_formtitle">业主楼号</div>
                    <div class="aui_formcontent aui-ellipsis-1">
                        {{itemform.ProjectName}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">住户名称</div>
                    <div class="aui_formcontent">
                        {{itemform.VisitorName}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">联系方式</div>
                    <div class="aui_formcontent">
                        {{itemform.PhoneNumber}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">携带人</div>
                    <div class="aui_formcontent">
                        {{itemform.VisitedName}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">证件号码</div>
                    <div class="aui_formcontent">
                        {{itemform.IDCardNumber}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">物品信息</div>
                    <div class="aui_formcontent">
                        {{itemform.ItemName}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">车辆信息</div>
                    <div class="aui_formcontent">
                        {{itemform.CarNumber}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">放行事由</div>
                    <div class="aui_formcontent">
                        {{itemform.VisitTypeName}}
                    </div>
                </div>
            </div>
        </div>
        <!-- 来人来访 -->
        <div v-if="status==1" class="contentBox pb4">
            <div class="aui_formbox width5">
                <div class="aui_formitem">
                    <div class="aui_formtitle">来访人</div>
                    <div class="aui_formcontent">
                        {{form.VisitorName}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">联系方式</div>
                    <div class="aui_formcontent">
                        {{form.PhoneNumber}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">证件号码</div>
                    <div class="aui_formcontent">
                        {{form.IDCardNumber}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">来访人数</div>
                    <div class="aui_formcontent">
                        {{form.VisitCount}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">物品信息</div>
                    <div class="aui_formcontent">
                        {{form.ItemName}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">车辆信息</div>
                    <div class="aui_formcontent">
                        {{form.CarNumber}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">被访人楼号</div>
                    <div class="aui_formcontent aui-ellipsis-1">
                        {{form.ProjectName}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">被访人姓名</div>
                    <div class="aui_formcontent">
                        {{form.VisitedName}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">联系方式</div>
                    <div class="aui_formcontent">
                        {{form.VisitedPhone}}
                    </div>
                </div>
                <div class="aui_formitem">
                    <div class="aui_formtitle">来访事由</div>
                    <div class="aui_formcontent">
                        {{form.VisitTypeName}}
                    </div>
                </div>
                <div v-if="form.LeaveTime!=''" class="aui_formitem">
                    <div class="aui_formtitle">离开时间</div>
                    <div class="aui_formcontent">
                        {{form.LeaveTime}}
                    </div>
                </div>
            </div>
        </div>
        <div v-if="status==1&&form.LeaveTime==''" class="aui_bottom">
            <div v-on:click="do_leave()" class="aui_bottombtn">确认离开</div>
        </div>
    </div>
</body>
<script type="text/javascript " src="../script/api.js "></script>
<script type="text/javascript " src="../script/vue.js "></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-tab.js"></script>
<script type="text/javascript" src="../script/aui-pull-refresh.js"></script>
<script type="text/javascript" src="../script/aui-scroll.js"></script>
<script type="text/javascript" src="../script/aui-popup.js"></script>
<script type="text/javascript " src="js/gate_sentry_details.js "></script>

</html>
